/****************************************************************************
**
** Copyright (C) 2011 Kimitake
** Contact: Kimitake (kimitake@gmail.com)
**
** This file is part of CuteUp application.
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General
** Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** This file is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without evene the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this file. If not, see <http://www.gnu.org/licenses/>.
**
****************************************************************************/

#ifndef CUTEUP_H 
#define CUTEUP_H

#include <QtGui/QMainWindow>

class QDeclarativeView;
class QDeclarativeContext;
class QDeclarativeEngine;

class CuteUp : public QMainWindow
{
    Q_OBJECT
public:
    enum ScreenOrientation {
        ScreenOrientationLockPortrait,
        ScreenOrientationLockLandscape,
        ScreenOrientationAuto
    };

    explicit CuteUp(QWidget *parent = 0);
    virtual ~CuteUp();

    void setOrientation(ScreenOrientation orientation);
    void showExpanded();

private:
    QDeclarativeView *view;
    QDeclarativeContext *context;
    QDeclarativeEngine *engine;
	
};

#endif // CUTEUP_H
